home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.19971216-19980424 / 000056_news@newsmaster….columbia.edu _Mon Jan 5 15:20:28 1998.msg < prev    next >
Internet Message Format  |  1998-04-22  |  2KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA06613
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Mon, 5 Jan 1998 15:20:28 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id PAA00836
  7.     for kermit.misc@watsun; Mon, 5 Jan 1998 15:20:27 -0500 (EST)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: MSDOS Kermit 3.15 bug.
  12. Date: 5 Jan 1998 20:20:26 GMT
  13. Organization: Columbia University
  14. Lines: 22
  15. Message-ID: <68rfaa$dro$1@apakabar.cc.columbia.edu>
  16. References: <68hst7$r0e$1@goanna.cs.rmit.edu.au> <68j0sn$hdj$1@apakabar.cc.columbia.edu> <68p2nn$kpb$1@goanna.cs.rmit.edu.au>
  17. NNTP-Posting-Host: watsun.cc.columbia.edu
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:8225
  19.  
  20. In article <68p2nn$kpb$1@goanna.cs.rmit.edu.au>,
  21. Ross Irvine <rwi@yallara.cs.rmit.edu.au> wrote:
  22. : Frank da Cruz (fdc@watsun.cc.columbia.edu) wrote:
  23. : : The problem with SWITCH destroying macro arguments will be fixed too.  In
  24. : : the meantime, work around it by copying the macro argument to another
  25. : : variable upon entry to the macro.
  26. : This doesn't seem to work. 
  27. : After the switch statement both the passed varible \%1 and the one I copied 
  28. : it to (\%g in my case) are both empty.
  29. : Seeing how this is the case, when you do :
  30. : define \%g %\1
  31. Sorry, I should have been more explicit:
  32.  
  33.   define \%g %\1
  34.  
  35. (use ASSIGN, which copies the value, not DEFINE, which copies the text).
  36.  
  37. - Frank